/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.jr2tecnologia.model.repository;

import br.com.jr2tecnologia.model.entity.SmsSend;
import java.util.List;

/**
 *
 * @author ronildo
 */
public interface SmsSendRepository extends GenericRepository<SmsSend>{

    public SmsSend findWhoSentLastSms(String phone);
    public SmsSend findByNowSmsId(String nowSmsId);
    public List<SmsSend> list(SmsSend smsSend);
    public List<SmsSend> listGrouped(SmsSend smsSend, String group[]);
    public List<SmsSend> listAll();
}
